<?php 
class Navigation extends Module{
	function Navigation($row){
		Module::Module($row);
		//if(User::is_admin_team() || Db_Hotel::get_hotel_ids(User::id()))
		if(User::is_admin_team() || User::is_root())
		{
			require_once 'forms/Navigation.php';
			$this->add_form(new NavigationForm());			
		}
		else
        {
			Url::access_denied();
		}
	}
}
?>